package PowerWord.UI.StudyMode;

import android.content.Context;
import android.preference.EditTextPreference;
import android.util.AttributeSet;

public class WordEditSettingBar extends EditTextPreference {

	public WordEditSettingBar(Context context, AttributeSet attrs) {
		super(context, attrs);
		setSummary(getText());
	}

	@Override
	protected void onDialogClosed(boolean positiveResult){
		super.onDialogClosed(positiveResult);
		setSummary(getText());
	}
}
